﻿<%@ Page Title="年底考核" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EndOfTheYearAppraisal.aspx.cs"
	Inherits="KPI.EndOfTheYearAppraisal" %>

<%@ Register Src="Controls/Messages.ascx" TagName="Messages" TagPrefix="uc3" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<div class="pagetitle">
		<span>年底考核</span>
	</div>
	<uc3:Messages ID="Messages1" runat="server" />
	<fieldset>
		<legend>KPI进度年底考核</legend>
		<div class="progressform">
			<table border="0" cellpadding="5" cellspacing="0">
				<tr>
					<th style="width: 125px;">
						单位
					</th>
					<th style="width: 200px;">
						指标内容
					</th>
					<th style="width: 190px;">
						一季度进度
					</th>
					<th style="width: 190px;">
						二季度进度
					</th>
					<th style="width: 190px;">
						三季度进度
					</th>
					<th style="width: 190px;">
						四季度进度
					</th>
				</tr>
				<tr>
					<td>
						<asp:Literal ID="lGroup" runat="server"></asp:Literal>
					</td>
					<td>
						<span>
							<asp:Literal ID="lKPIContent" runat="server"></asp:Literal>
							<asp:Button ID="btnExpand_KPIContent" runat="server" CssClass="expand kpicontent_progress" ToolTip="详情" UseSubmitBehavior="false" />
						</span>
					</td>
					<td>
						<span>
							<asp:Literal ID="lQuarter1Progress" runat="server"></asp:Literal>
							<asp:Button ID="btnExpand_Quarter1" runat="server" CssClass="expand quarter1progress" ToolTip="详情" UseSubmitBehavior="false" />
						</span>
					</td>
					<td>
						<span>
							<asp:Literal ID="lQuarter2Progress" runat="server"></asp:Literal>
							<asp:Button ID="btnExpand_Quarter2" runat="server" CssClass="expand quarter2progress" ToolTip="详情" UseSubmitBehavior="false" />
						</span>
					</td>
					<td>
						<span>
							<asp:Literal ID="lQuarter3Progress" runat="server"></asp:Literal>
							<asp:Button ID="btnExpand_Quarter3" runat="server" CssClass="expand quarter3progress" ToolTip="详情" UseSubmitBehavior="false" />
						</span>
					</td>
					<td>
						<span>
							<asp:Literal ID="lQuarter4Progress" runat="server"></asp:Literal>
							<asp:Button ID="btnExpand_Quarter4" runat="server" CssClass="expand quarter4progress" ToolTip="详情" UseSubmitBehavior="false" />
						</span>
					</td>
				</tr>
				<tr id="trkpicontentrow" style="display: none;" class="kpicontentrow_progress">
					<td colspan="6" id="cell_kpicontent_progress" runat="server">
						<div class="contentbox">
							<asp:Literal ID="lKPIContent_Full" runat="server"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr id="trquarter1progressrow" style="display: none;" class="quarter1progressrow">
					<td colspan="6" id="cell_quarter1progress" runat="server">
						<div class="progresscontentbox">
							<asp:Literal ID="lQuarter1Progress_Full" runat="server" Mode="PassThrough"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr id="trquarter2progressrow" style="display: none;" class="quarter2progressrow">
					<td colspan="6" runat="server" id="cell_quarter2progress">
						<div class="progresscontentbox">
							<asp:Literal ID="lQuarter2Progress_Full" runat="server" Mode="PassThrough"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr id="trquarter3progressrow" style="display: none;" class="quarter3progressrow">
					<td colspan="6" runat="server" id="cell_quarter3progress">
						<div class="progresscontentbox">
							<asp:Literal ID="lQuarter3Progress_Full" runat="server" Mode="PassThrough"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr id="trquarter4progressrow" style="display: none;" class="quarter4progressrow">
					<td colspan="6" runat="server" id="cell_quarter4progress">
						<div class="progresscontentbox">
							<asp:Literal ID="lQuarter4Progress_Full" runat="server" Mode="PassThrough"></asp:Literal>
						</div>
					</td>
				</tr>
				<tr>
					<td colspan="6">
						<table cellpadding="5" cellspacing="0" border="0" width="100%">
							<tr>
								<td>
									<label>年底考核及扣分情况:</label>
								</td>
								<td>
									<CKEditor:CKEditorControl ID="CKEditorEndOfTheYearAssessment" ToolbarCanCollapse="false" ResizeEnabled="false" BasePath="/ckeditor/"
										ValidationGroup="validationprogress" DefaultLanguage="zh-cn" runat="server" Width="100%" Height="300">
									</CKEditor:CKEditorControl>
								</td>
							</tr>
							<tr>
								<td>
									<label>完成情况:</label>
								</td>
								<td>
									<asp:RadioButtonList ID="rblKPIProgressState" runat="server" RepeatDirection="Horizontal">
										<asp:ListItem Text="完成" Value="finished" Selected="True"></asp:ListItem>
										<asp:ListItem Text="未完成" Value="unfinished"></asp:ListItem>
									</asp:RadioButtonList>
								</td>
							</tr>
							<tr>
								<td>
									<label>备注:</label>
								</td>
								<td>
									<asp:TextBox ID="txtKPIProgressRemark" runat="server" TextMode="MultiLine" Columns="120" Rows="5" MaxLength="512"></asp:TextBox>
								</td>
							</tr>
							<tr>
								<td>
								</td>
								<td>
									<asp:RequiredFieldValidator ID="rfvEndOfTheYearAssessment" runat="server" ValidationGroup="Assessment" ControlToValidate="CKEditorEndOfTheYearAssessment"
										CssClass="failurenotification" ErrorMessage="年底考核及扣分情况不能为空" ToolTip="年底考核及扣分情况不能为空">年底考核及扣分情况不能为空</asp:RequiredFieldValidator>
									<asp:CustomValidator ID="cusvEndOfTheYearAssessment" runat="server" ValidationGroup="Assessment" ControlToValidate="CKEditorEndOfTheYearAssessment"
										ErrorMessage="字数限制在1000字以内" ToolTip="字数限制在1000字以内" CssClass="failurenotification" ClientValidationFunction="checkEndOfTheYearAssessmentMaxLength"
										OnServerValidate="cusvEndOfTheYearAssessment_ServerValidate">字数限制在1000字以内</asp:CustomValidator>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</fieldset>
	<div class="buttonscontainer">
		<asp:Button ID="btnSubmit" Text="提 交" CssClass="button" runat="server" ValidationGroup="Assessment" OnClick="btnSubmit_Click" />
		<asp:Button ID="btnCancel" runat="server" CssClass="button" Text="取 消" OnClick="btnCancel_Click" />
	</div>
</asp:Content>
